<div >
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox ">
                <div class="ibox-title">
                    <h5>查询条件</h5>
                    <div class="ibox-tools" style="top:10px;">
                        <button type="button" class="btn btn-link btn-sm" style="margin-right:10px;"
                                v-on:click="_moreCondition()">{{auditEnterCommunityManageInfo.moreCondition ==
                            true?'隐藏':'更多'}}
                        </button>
                    </div>
                </div>
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-sm-4">
                            <div class="form-group">
                                <input type="text" placeholder="请输入商户名称"
                                       v-model="auditEnterCommunityManageInfo.conditions.name" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-4">
                            <div class="form-group">
                                <input type="text" placeholder="请输入小区名称"
                                       v-model="auditEnterCommunityManageInfo.conditions.communityName"
                                       class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-3">
                            <select class="custom-select"
                                    v-model="auditEnterCommunityManageInfo.conditions.auditStatusCd">
                                <option selected value="">请选择审核状态</option>
                                <option value="1000">未审核</option>
                                <option value="1100">审核通过</option>
                                <option value="1200">审核未通过</option>
                            </select></div>

                        <div class="col-sm-1">
                            <button type="button" class="btn btn-primary btn-sm"
                                    v-on:click="_queryEnterCommunityMethod()">
                                <i class="fa fa-search"></i> 查询
                            </button>
                        </div>
                    </div>
                    <div class="row" v-if="auditEnterCommunityManageInfo.moreCondition == true">
                        <div class="col-sm-4">
                            <select class="custom-select"
                                    v-model="auditEnterCommunityManageInfo.conditions.memberTypeCd">
                                <option selected value="">请选择商户类型</option>
                                <option value="390001200002">物业公司</option>
                                <option value="390001200003">代理商</option>
                            </select>
                        </div>
                        <div class="col-sm-4">
                            <div class="form-group">
                                <input type="text" placeholder="请输入联系电话"
                                       v-model="auditEnterCommunityManageInfo.conditions.tel"
                                       class=" form-control">
                            </div>
                        </div>

                    </div>

                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5>商户审核</h5>
                    <div class="ibox-tools" style="top:10px;">

                    </div>
                </div>
                <div class="ibox-content">

                    <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                        <thead>
                        <tr>
                            <th>小区ID</th>
                            <th>小区名称</th>
                            <th>商户名称</th>
                            <th>商户类型</th>
                            <th>联系电话</th>
                            <th>商户地址</th>
                            <th>状态</th>
                            <th class="text-right">操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr v-for="community in auditEnterCommunityManageInfo.communitys">
                            <td>{{community.communityId}}</td>
                            <td>{{community.name}}</td>
                            <td>{{community.storeName}}</td>
                            <td>{{community.storeTypeName}}</td>
                            <td>{{community.tel}}</td>
                            <td>{{community.address}}</td>
                            <td>{{community.stateName}}</td>
                            <td class="text-right">
                                <div class="btn-group" v-if="community.auditStatusCd=='1000'">
                                    <button class="btn-white btn btn-xs"
                                            v-on:click="_openEnterAuditCommunityModal(community)">审核
                                    </button>
                                </div>
                                <!--v-on:click="_openEnterAuditCommunityModal(community)"-->
                                <div class="btn-group" v-if="community.auditStatusCd!='1000'">
                                    <button class="btn-white btn btn-xs"
                                            v-on:click="_openRecallAuditFinishCommunityModal(community)"
                                            >撤回审核
                                    </button>
                                </div>


                        </tr>
                        </tbody>
                        <tfoot>
                        <tr>
                            <td colspan="7">
                                <ul class="pagination float-right"></ul>
                            </td>
                        </tr>
                        </tfoot>
                    </table>
                    <!-- 分页 -->
                    <vc:create path="frame/pagination"></vc:create>
                </div>
            </div>
        </div>
    </div>
    <vc:create path="common/audit"
               callBackListener="auditEnterCommunityManage"
               callBackFunction="notifyAuditInfo"
    ></vc:create>
    <!--撤回审核-->
    <vc:create path="common/recallAuditEnterFinishCommunity"></vc:create>

</div>
